<template>
  <div class="about">
    <h1>This is an about page</h1>
    <h3>{{id}}</h3>
  </div>
</template>
<script>
export default {
  props: {
    id: {
      type: String,
      default: 'sssss'
    }
  },
  beforeRouteEnter(to, from, next) {
    console.log(to.name, from.name)
    // next()
  }
}
</script>
